package com.heifeng.cloudshelf.base;

/**
 * Created by Administrator on 2017/3/22.
 *
 */
public class BaseResponse<T> {
    private int code;
    private T result;
    private String status;  //后台接口返回的格式不统一，有时返回status，有时返回msg
    private String msg;
    private String miniqrQr;
    private String title;

    public String getmsg() {
        return msg;
    }

    public void setmsg(String msg) {
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getresult() {
        return result;
    }

    public void setresult(T result) {
        this.result = result;
    }

    public String getMiniqrQr() {
        return miniqrQr;
    }

    public void setMiniqrQr(String miniqrQr) {
        this.miniqrQr = miniqrQr;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "BaseResponse{" +
                "code=" + code +
                ", result=" + result +
                ", status='" + status + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }
}
